<?php
namespace app\api\controller;

use app\api\controller;
use think\Db;


class Cue extends Base
{   
     
    
    //判断用户是否归还球杆
    public function checkBackCue(){
        $data = $this->request->param();

        if(Db::name('cue_status')->where('cue_number',$data['cue_number'])->where('user_id',$this->userId)->find()){
        	$this->error('您尚未还杆，如有疑问请进行反馈');
        }

        $this->success('您已还杆！');
    }
     
     

}
